import Vue from 'vue'
import App from './App.vue'
import { setRem } from './rem'

// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()
/**
 * Mint UI*/
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
/**
 * Element UI*/
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
/**
 * Vant*/
import Vant from 'vant'
// import { Dialog } from 'vant';
// Vue.use(Dialog);
import 'vant/lib/index.css'
/**
 * VueTouch*/
import VueTouch from 'vue-touch'
/**
 * globle*/
import '@/styles/index.scss'
/**
 * iconfont*/
import '@/assets/icons/iconfont.css'

import router from './router'
import store from './store'

setRem()
Vue.use(MintUI)
Vue.use(ElementUI)
Vue.use(Vant)
Vue.use(VueTouch, { name: 'v-touch' })
// Vue.use(vConsole)
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
}).$mount('#app')
